package com.hoko.blur.task;

import ohos.media.image.PixelMap;


import com.hoko.blur.api.IBlurProcessor;
import com.hoko.blur.api.IBlurResultDispatcher;

public class BitmapAsyncBlurTask extends AsyncBlurTask<PixelMap> {
    public BitmapAsyncBlurTask(IBlurProcessor processor, PixelMap bitmap, Callback callback, IBlurResultDispatcher dispatcher) {
        super(processor, bitmap, callback, dispatcher);
    }

    @Override
    protected PixelMap makeBlur(PixelMap target) {
        return mProcessor.blur(target);
    }
}
